home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000073_KentMartin@TexasHealth.org_Wed Dec 24 14:41:18 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.tiscali.de!fu-berlin.de!postnews1.google.com!not-for-mail
  2. From: KentMartin@TexasHealth.org (Kent W. Martin)
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Problem with increment command
  5. Date: 24 Dec 2003 11:03:09 -0800
  6. Organization: http://groups.google.com
  7. Lines: 30
  8. Message-ID: <b97068c6.0312241103.2fd8cac7@posting.google.com>
  9. NNTP-Posting-Host: 208.189.200.2
  10. Content-Type: text/plain; charset=ISO-8859-1
  11. Content-Transfer-Encoding: 8bit
  12. X-Trace: posting.google.com 1072292589 20575 127.0.0.1 (24 Dec 2003 19:03:09 GMT)
  13. X-Complaints-To: groups-abuse@google.com
  14. NNTP-Posting-Date: Wed, 24 Dec 2003 19:03:09 +0000 (UTC)
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14754
  16.  
  17. I'm running Kermit 95 1.1.20 on a Windows 2000 server.  Every several
  18. months (yes, it's that infrequent!) one of my scripts has an error
  19. with an increment statement.
  20.  
  21. Code with comments and extraneous stuff removed:
  22.   local secsToAdd baseTime
  23.   assign secsToAdd \Ftod2secs(...)
  24.   assign baseTime \Ftod2secs(...)
  25.  
  26.   echo {secsToAdd: "\m(secsToAdd)".}
  27.   echo {baseTime: "\m(baseTime)".}
  28.   increment baseTime \m(secsToAdd)
  29.   echo {baseTime: "\m(baseTime)".}
  30.  
  31. Results:
  32.   secsToAdd: "88".
  33.   baseTime: "16509".
  34.   baseTime: "1659Q".
  35.  
  36. Last time I checked 16509+88=16597.  Not sure where 1659Q comes from. 
  37. Any ideas what could be happening here?  Meanwhile I'll check on
  38. moving this script over to the latest version of Kermit95.
  39.  
  40. Regards,
  41.  
  42. Kent
  43.  
  44. --------------
  45. Kent W. Martin
  46. Texas Health Resources
  47.